#! /bin/bash

set -x

name="python-with-package"
image_name="notify:latest"
docker_name="zabbix-notify"

docker build . -t ${image_name} -f Dockerfile-notify
docker ps -aq --filter "name=${docker_name}" | xargs -i bash -c "docker stop {};docker rm {}"
docker run --name ${docker_name} -d  --network=zabbix-net  ${image_name}
